package com.frost.springbook.adapt;

public class Sl4jLog4jAdapt implements Slf4jApi{

    private Log4j log4j;

    public Sl4jLog4jAdapt(Log4j log4j) {
        this.log4j = log4j;
    }

    @Override
    public void log(String message) {
        log4j.log("Sl4j适配Log4j, 日志打印: " + message);
    }
}
